package com.openlogic.common.logic.decision.table.constants;

/**
* @ClassName: TableConstants
* @Description: 决策表常量类
* @author weiyongpeng
* @date 2024年9月29日 上午8:38:12
 */
public class TableConstants {
	
	public static final String ROW_NUM_KEYWORDS = "rowNum";
	public static final String DECISION_CELLS_KEYWORDS = "decisionCells";
	public static final String CELL_NUM_KEYWORDS = "cellNum";
	public static final String CELL_TYPE_KEYWORDS = "cellType";
	public static final String CELL_VALUE_KEYWORDS = "cellValue";
	public static final String CELL_TEXT_KEYWORDS = "cellName";
	public static final String ROW_SPAN_KEYWORDS = "rowSpan";
	public static final String COL_SPAN_KEYWORDS = "colSpan";
	
	public static enum CellTypeEnums{
		PARAM_DOT_CELL("1","参数桩单元格"),
		ACTION_DOT_CELL("2","动作桩单元格"),
		CONDITION_EXPR_CELL("3","条件表达式单元格"),
		ACTION_EXPR_CELL("4","动作表达式单元格");
		
		private String code;
		private String desc;
		public String getCode() {
			return code;
		}
		public void setCode(String code) {
			this.code = code;
		}
		public String getDesc() {
			return desc;
		}
		public void setDesc(String desc) {
			this.desc = desc;
		}
		private CellTypeEnums(String code, String desc) {
			this.code = code;
			this.desc = desc;
		}
		
	}

}
